package com.fanshilz.flower2025.apps.admin.satoken;

import com.fanshilz.flower2025.business.sys.sysUser.entity.SysUser;
import com.fanshilz.flower2025.business.sys.sysUser.entity.UserStatusEnum;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@AutoMapper(target = SysUser.class, convertGenerate = false)
public class AdminCurrentUser implements Serializable {

    private Long userId;

    private String userUuid;

    private String userMobile;

    private String userEmail;

    private String nickName;

    private String userName;

    private String loginName;

    private String pwdTxt;

    private String pwdHash;

    private String pwdSalt;

    private UserStatusEnum userStatus;

    private Boolean superAdmin;

    private List<String> roles;

}
